package com.baidu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author ShiLei
 * @version v1.0
 * @date 2020-03-18 17:45
 */
@Component
public class OrderFallbackService implements OrderHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "OrderFallbackService --- fall back - paymentInfo_OK -- **";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "OrderFallbackService --- fall back - paymentInfo_TimeOut -- **";
    }
}
